From: Andreas Schwab Date: Sat, 21 Sep 2019 11:54:40 +0000 (+0200) Subject: Fix compilation with CHECK_STRUCTS X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~1889 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2cc9c45e447bb8a89446a1cd6d3f247a4d01c822;p=emacs.git Fix compilation with CHECK_STRUCTS * src/pdumper.c (dump_buffer): Update hash of struct buffer. --- diff --git a/src/pdumper.c b/src/pdumper.c index 2e382145be2..195c5556ecb 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2769,7 +2769,7 @@ dump_hash_table (struct dump_context *ctx, static dump_off dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer) { -#if CHECK_STRUCTS && !defined HASH_buffer_E34A11C6B9 +#if CHECK_STRUCTS && !defined HASH_buffer_9F2F522174 # error "buffer changed. See CHECK_STRUCTS comment in config.h." #endif struct buffer munged_buffer = *in_buffer;